<template>

  <div class='todoList'>
    <ul-li></ul-li>
  </div>
</template>

<script>
import {reactive} from 'vue'
import {TodoListItem} from "../tsInterface/todoList";

export default {
  setup(){
    const todoList:Array<TodoListItem> = reactive([
      {
        id:1,
        name: '测试',
        method: 'alert'
      }
    ])
    return {
      todoList
    }
  }
}
</script>

